<!-- START HEADER.TPL -->



<div id="logo" style="background-image:url({$my_pligg_base}/templates/plantilla/images/fondoCabezote.png); background-repeat:repeat-x; position:relative;"><div style="position:absolute; left:0px; background-image:url({$my_pligg_base}/templates/plantilla/images/bordeIzq.png); background-repeat:no-repeat; height:120px; width:22px;"></div>



<div style="position:absolute; right:0px; background-image:url({$my_pligg_base}/templates/plantilla/images/bordeDer.png); background-repeat:no-repeat; background-position: top right; height:120px; width:22px;"></div>





 <!--<a href="{$my_pligg_base}">  <div style="position:absolute; left:20px; top:20px;"> <img border="0" src="{$my_pligg_base}/templates/plantilla/images/logo.png" /></div>-->
<a href="http://www.bisclick.com">  <div style="position:absolute; left:20px; top:20px;"> <img border="0" src="{$my_pligg_base}/templates/plantilla/images/logo.png" /></div>

  <!--{#PLIGG_Visual_Name#}--> 

  </a>



  <!-- START SEARCH -->

  <div class="search"> {if !isset($searchboxtext)}

    {assign var=searchboxtext value=#PLIGG_Visual_Search_SearchDefaultText#}			

    {/if}

    

    <form action="{$my_pligg_base}/user.php" method="get" name="thisform-search" id="thisform-search"

		{php}

		global $URLMethod, $my_base_url, $my_pligg_base;

		if ($URLMethod==2) print "onsubmit='document.location.href=\"{$my_base_url}{$my_pligg_base}/search/\"+this.search.value.replace(/\//g,\"|\").replace(/\?/g,\"%3F\"); return false;'";

		{/php}

		>

    	

        <input type="submit" value="{#PLIGG_Visual_Search_Go#}" class="searchbutton" />

<!--      <input type="text" size="20" class="searchfield" name="search" id="searchsite" value="{$searchboxtext}" onfocus="if(this.value == '{$searchboxtext}') {ldelim}this.value = '';{rdelim}" onblur="if (this.value == '') {ldelim}this.value = '{$searchboxtext}';{rdelim}"/>-->

        <input type="text" size="20" class="searchfield" name="busqueda" id="busqueda" value="" onfocus="if(this.value == '{$searchboxtext}') {ldelim}this.value = '';{rdelim}" onblur="if (this.value == '') {ldelim}this.value = '{$searchboxtext}';{rdelim}"/>

          <input name="view" type="hidden" value="viewsearchpersonal" />

          <!--<input type="hidden" name="suser" value="1" />-->

    </form>

  </div>

  <div class="clear"></div>

  <!-- END SEARCH -->

</div>

<div id="login" style="background-image:url({$my_pligg_base}/templates/plantilla/images/fondoLineaCabezote.png); background-repeat:repeat-x; position:relative">

  <!-- START NAVBAR -->

  <span style=" position:absolute; left:150px; color:#FFFFFF; font-weight:bold; padding-top: 10px;"><a style="color:#FFFFFF; text-decoration:none; font-weight:bold; padding-top: 10px;" href="#">{$user_names}</a></span>

  

  <ul id="nav">

  {if $pagename neq "register"}

    {checkActionsTpl location="tpl_pligg_navbar_start"}

    

    <!-- <li {if $pagename eq "published" || $pagename eq "index"}class="current"{/if}>

  <a href='{$my_base_url}{$URL_base}'>{#PLIGG_Visual_Published_News#}</a>

  </li>-->

    <!-- <li {if $pagename eq "upcoming"}class="current"{/if}><a href="{$URL_upcoming}">{#PLIGG_Visual_Pligg_Queued#}</a></li>-->

    <!-- <li {if $pagename eq "submit"}class="current"{/if}><a href="{$URL_submit}">{#PLIGG_Visual_Submit_A_New_Story#}</a></li>-->

    {if $enable_group eq "true"}

    <!--<li {if $pagename eq "groups" || $pagename eq "submit_groups" || $pagename eq "group_story"}class="current"{/if}>

  <a href="{$URL_groups}"><span>{#PLIGG_Visual_Groups#}</span></a>

  </li>-->

    {/if}	

    {if $user_authenticated eq true}

    <li {if $pagename eq "user"}class="current"{/if}><a href="{$my_base_url}{$my_pligg_base}"><span>Inicio</span></a></li>

    <li {if $pagename eq "user"}class="current"{/if}><a href="{$URL_userNoVar}"><span>{#PLIGG_Visual_Profile#}</span></a></li>

    <li {if $pagename eq "user"}class="current"{/if}><a href="{$my_base_url}contacto.php"><span>Cont&aacute;ctenos</span></a></li>

    {/if} 

    {if isset($isgod) && $isgod eq 1}

    <!-- <li><a href="{$URL_admin}"><span>{#PLIGG_Visual_Header_AdminPanel#}</span></a></li>-->

    {/if}

    {if $user_authenticated eq true}

    <!--{#PLIGG_Visual_Welcome_Back#}-->

    <li><a href="{$URL_logout}"> {#PLIGG_Visual_Logout#}</a></li>

    {/if}

    

    {if $user_authenticated neq true} <a href='{$URL_register}'>{#PLIGG_Visual_Register#}</a> | <a href='{$URL_login}'>{#PLIGG_Visual_Login_Title#}</a> {checkActionsTpl location="tpl_pligg_login_link"}

    {/if} 

    {checkActionsTpl location="tpl_pligg_navbar_end"}

  {/if}

  </ul>



 

  <!-- END NAVBAR -->

</div>

<!-- START SEARCH 

<div class="search"> {if !isset($searchboxtext)}

  {assign var=searchboxtext value=#PLIGG_Visual_Search_SearchDefaultText#}			

  {/if}

  <form action="{$my_pligg_base}/search.php" method="get" name="thisform-search" id="thisform-search"

		{php}

		global $URLMethod, $my_base_url, $my_pligg_base;

		if ($URLMethod==2) print "onsubmit='document.location.href=\"{$my_base_url}{$my_pligg_base}/search/\"+this.search.value.replace(/\//g,\"|\").replace(/\?/g,\"%3F\"); return false;'";

		{/php}

		>

    <input type="text" size="20" class="searchfield" name="search" id="searchsite" value="{$searchboxtext}" onfocus="if(this.value == '{$searchboxtext}') {ldelim}this.value = '';{rdelim}" onblur="if (this.value == '') {ldelim}this.value = '{$searchboxtext}';{rdelim}"/>

    <input type="submit" value="{#PLIGG_Visual_Search_Go#}" class="searchbutton" />

  </form>

</div>

<div class="clear"></div>

 END SEARCH  -->

<!-- START NAVBAR 

<ul id="nav">

  {checkActionsTpl location="tpl_pligg_navbar_start"}

  <li {if $pagename eq "published" || $pagename eq "index"}class="current"{/if}>

  <a href='{$my_base_url}{$URL_base}'>{#PLIGG_Visual_Published_News#}</a>

  </li>

  <li {if $pagename eq "upcoming"}class="current"{/if}><a href="{$URL_upcoming}">{#PLIGG_Visual_Pligg_Queued#}</a></li>

  <li {if $pagename eq "submit"}class="current"{/if}><a href="{$URL_submit}">{#PLIGG_Visual_Submit_A_New_Story#}</a></li>

  {if $enable_group eq "true"}

  <li {if $pagename eq "groups" || $pagename eq "submit_groups" || $pagename eq "group_story"}class="current"{/if}>

  <a href="{$URL_groups}"><span>{#PLIGG_Visual_Groups#}</span></a>

  </li>

  {/if}	

  {if $user_authenticated eq true}

  <li {if $pagename eq "user"}class="current"{/if}><a href="{$URL_userNoVar}"><span>{#PLIGG_Visual_Profile#}</span></a></li>

  {/if}

  {if isset($isgod) && $isgod eq 1}

  <li><a href="{$URL_admin}"><span>{#PLIGG_Visual_Header_AdminPanel#}</span></a></li>

  {/if}

  {checkActionsTpl location="tpl_pligg_navbar_end"}

</ul>

{assign var=sidebar_module value="categories"}{include file=$the_template_sidebar_modules."/wrapper.tpl"}

 END NAVBAR -->



<!-- START BREADCRUMBS -->

<div style="margin-left:140px">

{if $pagename eq "submit_groups"}

<h1>{#PLIGG_Visual_Submit_A_New_Group#}</h1>

{/if}

{if $pagename eq "groups"}

<h1>{#PLIGG_Visual_Groups#}</h1>

{/if}

{if $pagename eq "group_story" }

<h1>{$group_name}</h1>

{/if}

{if $pagename eq "login"}

<h1>{#PLIGG_Visual_Login#}</h1>

{/if}

{if $pagename eq "register"}

<h1>{#PLIGG_Visual_Register#}</h1>

{/if}

{if $pagename eq "editlink"}

<h1>{#PLIGG_Visual_EditStory_Header#}: {$submit_url_title}</h1>

{/if}

{if $pagename eq "rssfeeds"}

<h1>{#PLIGG_Visual_RSS_Feeds#}</h1>

{/if}

{if $pagename eq "topusers"}

<h1>{#PLIGG_Visual_TopUsers_Statistics#}</h1>

{/if}

{if $pagename eq "cloud"}

<h1>{#PLIGG_Visual_Tags_Tags#}</h1>

{/if}

{if $pagename eq "live" || $pagename eq "live_unpublished" || $pagename eq "live_published" || $pagename eq "live_comments"}

<h1>{#PLIGG_Visual_Live#}</h1>

{/if}

{if $pagename eq "advancedsearch"}

<h1>{#PLIGG_Visual_Search_Advanced#}</h1>

{/if}

{if $pagename eq "profile"}

<h1>{#PLIGG_Visual_Profile_ModifyProfile#}</h1>

{/if}

{if $pagename eq "user"}

<h1></h1>

{/if}



{if $pagename eq "published" || $pagename eq "index"}

<h1>

{#PLIGG_Visual_Published_News#}{/if}

{if $pagename eq "upcoming"}

<h1>

{#PLIGG_Visual_Pligg_Queued#}{/if}

{if $pagename eq "noresults"}

<h1>

{$posttitle}

{elseif isset($templatelite.get.search)}

<h1>

{#PLIGG_Visual_Search_SearchResults#} {if $templatelite.get.search}{$templatelite.get.search|sanitize:2|stripslashes}{else}{$templatelite.get.date}{/if}{/if}

{if isset($templatelite.get.q)}

<h1>{#PLIGG_Visual_Search_SearchResults#} {$templatelite.get.q|sanitize:2|stripslashes}{/if} 

  {if $pagename eq "index" || $pagename eq "published" || $pagename eq "upcoming" || isset($templatelite.get.search) || isset($templatelite.get.q)}

  {if isset($navbar_where.link2) && $navbar_where.link2 neq ""} &#187; <a href="{$navbar_where.link2}">{$navbar_where.text2}</a>{elseif isset($navbar_where.text2) && $navbar_where.text2 neq ""} &#187; {$navbar_where.text2}{/if}

  {if isset($navbar_where.link3) && $navbar_where.link3 neq ""} &#187; <a href="{$navbar_where.link3}">{$navbar_where.text3}</a>{elseif isset($navbar_where.text3) && $navbar_where.text3 neq ""} &#187; {$navbar_where.text3}{/if}

  {if isset($navbar_where.link4) && $navbar_where.link4 neq ""} &#187; <a href="{$navbar_where.link4}">{$navbar_where.text4}</a>{elseif isset($navbar_where.text4) && $navbar_where.text4 neq ""} &#187; {$navbar_where.text4}{/if} </h1>

{/if}

{if $posttitle neq "" && $pagename eq "page"}

<h1>{$posttitle}</h1>

{/if}

</div>

<!-- END BREADCRUMBS -->

{checkActionsTpl location="tpl_pligg_breadcrumb_end"}

<!-- END HEADER.TPL -->

